package com.example.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Orders {

    private Integer orderId;
    private Integer userId;
    private Integer businessId;
    private Date orderDate;
    private BigDecimal orderTotal;
    private Integer daId;
    private Integer orderState;

    //每个订单关联多个订单明细
    private List<Orderdetailet> orderdetailetList;

    //用户信息，关联的一方
    private User user;


    public List<Orderdetailet> getOrderdetailetList() {
        return orderdetailetList;
    }

    public void setOrderdetailetList(List<Orderdetailet> orderdetailetList) {
        this.orderdetailetList = orderdetailetList;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.orderId
     *
     * @return the value of orders.orderId
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.orderId
     *
     * @param orderId the value for orders.orderId
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.userId
     *
     * @return the value of orders.userId
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.userId
     *
     * @param userId the value for orders.userId
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.businessId
     *
     * @return the value of orders.businessId
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public Integer getBusinessId() {
        return businessId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.businessId
     *
     * @param businessId the value for orders.businessId
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.orderDate
     *
     * @return the value of orders.orderDate
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public Date getOrderDate() {
        return orderDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.orderDate
     *
     * @param orderDate the value for orders.orderDate
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.orderTotal
     *
     * @return the value of orders.orderTotal
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public BigDecimal getOrderTotal() {
        return orderTotal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.orderTotal
     *
     * @param orderTotal the value for orders.orderTotal
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public void setOrderTotal(BigDecimal orderTotal) {
        this.orderTotal = orderTotal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.daId
     *
     * @return the value of orders.daId
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public Integer getDaId() {
        return daId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.daId
     *
     * @param daId the value for orders.daId
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public void setDaId(Integer daId) {
        this.daId = daId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.orderState
     *
     * @return the value of orders.orderState
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public Integer getOrderState() {
        return orderState;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.orderState
     *
     * @param orderState the value for orders.orderState
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }
}